//
//  nbl_lockStat.h
//  nbl_SDK
//
//  Created by 何宇 on 16/8/31.
//  Copyright © 2016年 newunity. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface nbl_lockStat : NSObject

// 电量
@property (assign, readonly) uint8_t battery;
// 锁时间
@property (copy, readonly) NSString* _Nonnull time;
// 告警ID
@property (assign, readonly) uint8_t alarm;
// 当前已添加密码数
@property (assign, readonly) uint8_t pwdCount;
// 最大密码数
@property (assign, readonly) uint8_t pwdMax;
// 当前已添加卡数量
@property (assign, readonly) uint8_t cardCount;
// 最大卡数量
@property (assign, readonly) uint8_t cardMax;
// 语言
@property (assign) uint8_t language;
// 音量
@property (assign) uint8_t volume;
// 常模式
@property (assign) uint8_t passMode;
// 随机密码状态
@property (assign) uint8_t randomPwdStat;


// 从蓝牙锁返回帧数据区（完整数据区，包含成功标识）生成锁状态实体
-(nullable instancetype) initWithData: (nonnull const uint8_t*)pData;

@end
